<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>ExaminePack</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ExaminePack()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result = <font color="#006666"><b>ExaminePack</b></font>(#Pack)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Start to examine the pack content. <a href="nextpackentry.html">NextPackEntry()</a> has to be called to list the entries found 
in the pack file. The pack has to be previously opened with <a href="openpack.html">OpenPack()</a>. Packs being created 
with <a href="createpack.html">CreatePack()</a> can not be examined. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Pack</i></td>
<td width="90%"> 
 
The pack to use. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



Nonzero if the pack can be examined, zero otherwise. 

 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#006666">  UseZipPacker</font>()

  <font color="#006666">; Open the packed file</font>
  <b><font color="#006666">If</font></b> <font color="#006666">OpenPack</font>(0, "mycompressedfiles.zip") 
    
    <font color="#006666">; List all the entries</font>
    <b><font color="#006666">If</font></b> <font color="#006666">ExaminePack</font>(0)
      <b><font color="#006666">While</font></b> <font color="#006666">NextPackEntry</font>(0)
        <b><font color="#006666">Debug</font></b> "Name: " +<font color="#006666"> PackEntryName</font>(0) + ", Size: " +<font color="#006666"> PackEntrySize</font>(0)
      <b><font color="#006666">Wend</font></b>
    <b><font color="#006666">EndIf</font></b>
    
<font color="#006666">    ClosePack</font>(0)
  <b><font color="#006666">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="openpack.html">OpenPack()</a>, <a href="nextpackentry.html">NextPackEntry()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=createpack.html>CreatePack()</a> - <a href=index.html>Packer Index</a> - <a href=nextpackentry.html>NextPackEntry()</a> -&gt;



</body></html>